#35 new

Yearly occurrence with dtstart leads to infinite program run

Reported by icem | November 18th, 2010 @ 01:18 PM

This code in rails console leads to infinite program run in occurrences method.

time = Time.parse("Fri Nov 19 18:00:00 UTC 2010").utc
event = RiCal.Event do

dtstart time
dtend time + 30.minutes

event.occurrences(:count => 3).map(&:start_time)

Also I've tried to run this test
but with dtstart property changed from "DTSTART;VALUE=DATE:19400713" to "DTSTART:19701018T000000" in VEVENT section(and DTEND property too), and the result was the same (infinite run).

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A new icalendar data (RFC 2445) gem for Ruby which supports time zones and enumeration of occurrences

Shared Ticket Bins

People watching this ticket